package com.way;

/**
 * @author 魏彪
 */
public abstract class Abstraction {

    private IImplementor implementor;

    public Abstraction() {
    }

    public Abstraction(IImplementor implementor) {
        this.implementor = implementor;
    }

    public void operation() {
        implementor.operationImpl();
    }
}
